package com.ls.data.service;

import com.ls.data.mapper.CustomerInterfaceMapper;
import com.ls.pojo.CustInter;
import com.ls.pojo.InterThirdparty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 段成
 * @date 2020/1/9 - 11:29
 */
@Service
public class CustomerInterfaceService {
    @Autowired
    private CustomerInterfaceMapper customerInterfaceMapper;

    public String getAppkeyByUidAndIid(Integer iid, Integer cid) {
        return customerInterfaceMapper.getAppkeyByUidAndIid(iid,cid);
    }


    public CustInter getAppkeyByAppkey(String appkey, Integer id) {
        return customerInterfaceMapper.getAppkeyByAppkey(appkey,id);
    }
}
